package com.example.john.startproject_408lwn.Service;
import com.example.john.startproject_408lwn.bean.WeatherResult;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;

/**
 * Created by john on 2017/3/21.
 */
//访问网络，定义接口。
public interface WeatherService {

    @GET("data/sk/{cityNumber}.html")
    Call<WeatherResult> getResult(@Path("cityNumber")String cityNumber);
}